#ifndef CHARDEVICE_H
#define CHARDEVICE_H

#include <File.h>

/**
  An abstraction of a character device.
**/

class CharDevice : public File
{

  public:
    CharDevice(char *name, Filesystem *parent, u32int resourceId);


    ~CharDevice();

    /**
      Identify outselves as a regular file.
     **/
    FileTypes identify()
    {
      return eFileType_CharDevice;
    }

};

#endif
